package de.gbeine.java.depview.model;

/**
 *
 * @author gbeine
 */
public abstract class Element {

    /**
     *
     */
    private final String name;
    /**
     *
     */
    private final Dependencies dependencies;

    /**
     *
     * @param name
     */
    public Element(final String name) {
        this.name = name;
        this.dependencies = new Dependencies(this);
    }

    /**
     *
     * @return
     */
    public final String getName() {
        return this.name;
    }

    /**
     *
     * @return
     */
    public Dependencies getDependencies() {
        return this.dependencies;
    }
}
